import unittest
import requests
import nose

class TestPythonRepos(unittest.TestCase):
    def test_status_code(self):
        url = 'https://api.github.com/search/repositories?q=language:Java&sort=star'
        code = requests.get(url).status_code
        self.assertEqual(code, 200)


if __name__=="__main__":
	unittest.main()
